Open(String,Byte[]) Method
Creates a PDFFile object from the given pdf file.
Syntax
'Declaration Public Overloads Shared Function Open( _ ByVal fileName As String, _ ByVal userPassword() As Byte _ ) As PDFFile
'Usage Dim fileName As String Dim userPassword() As Byte Dim value As PDFFile value = PDFFile.Open(fileName, userPassword)
public static PDFFile Open( string fileName, byte[] userPassword )
Parameters
- fileName
- the full path to a pdf file used as source for this PDFFile object.
- userPassword
- the user password used to decrypt the PDF file.
Return Value
A PDFFile object created based on the given pdf file.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also